/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.mycompany.ingsoc2;

import java.sql.SQLException;
import java.util.Collection;

/**
 *
 * @author sfreiman
 */
public interface PersonaDAO {
    public boolean crear (Persona pp) throws SQLException;
    public boolean borrar (Persona pp)throws SQLException;    
    public boolean guardar (Persona pp)throws SQLException;
    public Collection<Persona> listar ()throws SQLException;
}
